#!/usr/bin/pythonBasics
# -*- coding: utf-8 -*-
"""
@author: super
@software: PyCharm
@file: suite.py
@time: 2021/4/23 15:36
"""

import pytest
import os

path = os.path.dirname(__file__)+'/report'
pytest.main(["./tests/", "--tb=no","--allure=./report","--clean-alluredir"])  # 运行 cases下所有测试用例

# result = os.system(r"allure serve {}".format(path))
# print("result={}".format(result))